package com.shop.cereshop.agent.service.product;

import com.shop.cereshop.agent.page.product.CartVO;
import com.shop.cereshop.agent.param.product.AgentCartDTO;
import com.shop.cereshop.agent.param.product.AgentCartSelectDTO;
import com.shop.cereshop.commons.domain.common.Page;

import java.util.List;

public interface AgentCartService {
  Integer addCart(AgentCartDTO agentCartDTO);

  Integer deleteCart(List<Long> cartIds, Long agentUserId);

  Page<CartVO> listCart(AgentCartSelectDTO agentCartSelectDTO);

  Integer updateCart(AgentCartDTO agentCartDTO);
}
